package org.qu.vo;

import java.sql.Timestamp;
import java.util.Date;

/**
 * IsnsPoll entity. @author MyEclipse Persistence Tools
 */

public class IsnsPoll implements java.io.Serializable {

	// Fields

	private Integer PId;
	private Integer userId;
	private String username;
	private String userIco;
	private String subject;
	private Integer voternum;
	private Integer comments;
	private Short multiple;
	private Short maxchoice;
	private Short sex;
	private Short noreply;
	private Short credit;
	private Short percredit;
	private Date expiration;
	private Timestamp lastvote;
	private Timestamp dateline;
	private String message;
	private String summary;
	private String option;
	private Short isPass;
	private String tag;

	// Constructors

	/** default constructor */
	public IsnsPoll() {
	}

	/** full constructor */
	public IsnsPoll(Integer userId, String username, String userIco,
			String subject, Integer voternum, Integer comments, Short multiple,
			Short maxchoice, Short sex, Short noreply, Short credit,
			Short percredit, Date expiration, Timestamp lastvote,
			Timestamp dateline, String message, String summary, String option,
			Short isPass, String tag) {
		this.userId = userId;
		this.username = username;
		this.userIco = userIco;
		this.subject = subject;
		this.voternum = voternum;
		this.comments = comments;
		this.multiple = multiple;
		this.maxchoice = maxchoice;
		this.sex = sex;
		this.noreply = noreply;
		this.credit = credit;
		this.percredit = percredit;
		this.expiration = expiration;
		this.lastvote = lastvote;
		this.dateline = dateline;
		this.message = message;
		this.summary = summary;
		this.option = option;
		this.isPass = isPass;
		this.tag = tag;
	}

	// Property accessors

	public Integer getPId() {
		return this.PId;
	}

	public void setPId(Integer PId) {
		this.PId = PId;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getUserIco() {
		return this.userIco;
	}

	public void setUserIco(String userIco) {
		this.userIco = userIco;
	}

	public String getSubject() {
		return this.subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public Integer getVoternum() {
		return this.voternum;
	}

	public void setVoternum(Integer voternum) {
		this.voternum = voternum;
	}

	public Integer getComments() {
		return this.comments;
	}

	public void setComments(Integer comments) {
		this.comments = comments;
	}

	public Short getMultiple() {
		return this.multiple;
	}

	public void setMultiple(Short multiple) {
		this.multiple = multiple;
	}

	public Short getMaxchoice() {
		return this.maxchoice;
	}

	public void setMaxchoice(Short maxchoice) {
		this.maxchoice = maxchoice;
	}

	public Short getSex() {
		return this.sex;
	}

	public void setSex(Short sex) {
		this.sex = sex;
	}

	public Short getNoreply() {
		return this.noreply;
	}

	public void setNoreply(Short noreply) {
		this.noreply = noreply;
	}

	public Short getCredit() {
		return this.credit;
	}

	public void setCredit(Short credit) {
		this.credit = credit;
	}

	public Short getPercredit() {
		return this.percredit;
	}

	public void setPercredit(Short percredit) {
		this.percredit = percredit;
	}

	public Date getExpiration() {
		return this.expiration;
	}

	public void setExpiration(Date expiration) {
		this.expiration = expiration;
	}

	public Timestamp getLastvote() {
		return this.lastvote;
	}

	public void setLastvote(Timestamp lastvote) {
		this.lastvote = lastvote;
	}

	public Timestamp getDateline() {
		return this.dateline;
	}

	public void setDateline(Timestamp dateline) {
		this.dateline = dateline;
	}

	public String getMessage() {
		return this.message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getSummary() {
		return this.summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public String getOption() {
		return this.option;
	}

	public void setOption(String option) {
		this.option = option;
	}

	public Short getIsPass() {
		return this.isPass;
	}

	public void setIsPass(Short isPass) {
		this.isPass = isPass;
	}

	public String getTag() {
		return this.tag;
	}

	public void setTag(String tag) {
		this.tag = tag;
	}

}